package geektime.spring.springbucks.baristaservice;

import geektime.spring.springbucks.baristaservice.integration.Waiter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@EnableJpaRepositories
@EnableBinding(Waiter.class)
public class BaristaServiceApplication {

  public static void main(String[] args) {
    SpringApplication.run(BaristaServiceApplication.class, args);
  }

}
